import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

import {home} from './modules/home.js'
import {seach} from './modules/seach.js'
import {My} from './modules/My.js'
import {Help} from './modules/Help.js'
import {HomeDetail} from './modules/Home-Detail.js'
import {MyIndex} from './modules/MyIndex-Bottom.js'
//每个应用将仅仅包含一个 store 实例。
export default new Vuex.Store({
    modules: {
        home,
        seach,
        My,
        Help,
        HomeDetail,
        MyIndex
    }
})
